IAWP\Date_Range\Relative_Date_Range S

Total Complexity 30
Dependencies 5
Dependents 7
Total lines 217
Lines of code 159
Logical lines of code 107
Comment lines 19
Methods 23
Properties 2

Methods 23

Method Rating Maintainability Complexity Lines of code
beginning_of_time()
S
55 5 19
this_week()
S
59 2 13
is_valid_range()
S
70 2 6
__construct()
S
64 2 9
yesterday()
S
71 1 5
last_six_months()
S
67 1 7
label()
S
82 1 3
range_ids()
S
80 1 3
ranges()
S
73 1 5
all_time()
S
71 1 5
last_year()
S
64 1 8
this_year()
S
65 1 8
last_twelve_months()
S
67 1 7
last_three_months()
S
67 1 7
last_seven()
S
69 1 6
last_month()
S
66 1 7
relative_range_id()
S
82 1 3
last_week()
S
69 1 6
today()
S
71 1 5
last_ninety()
S
69 1 6
last_sixty()
S
69 1 6
last_thirty()
S
69 1 6
this_month()
S
63 1 9